package com.ruige.account.service;


import com.ruige.account.pojo.User;
import com.ruige.account.util.AuthToken;

public interface AuthService {
    AuthToken login(String username, String password, String clientId, String clientSecret);

    int register(User user);

    Boolean findByUsername(String username);
}
